Table of Contents
Properties
-
$author
: User|null
-
$content
: string|null
-
$createdAt
: DateTimeImmutable|null
-
$id
: int|null
-
$isDone
: bool|null
-
$title
: string|null
Methods
-
__construct()
: mixed
-
getAuthor()
: User|null
-
getContent()
: string|null
-
getCreatedAt()
: DateTimeImmutable|null
-
getId()
: int|null
-
getTitle()
: string|null
-
isIsDone()
: bool|null
-
setAuthor()
: self
-
setContent()
: self
-
setCreatedAt()
: self
-
setIsDone()
: self
-
setTitle()
: self
$author
private
User|null
$author
= null
$content
private
string|null
$content
= null
$createdAt
private
DateTimeImmutable|null
$createdAt
= null
$id
private
int|null
$id
= null
$isDone
private
bool|null
$isDone
= null
$title
private
string|null
$title
= null
__construct()
public
__construct() : mixed
getAuthor()
public
getAuthor() : User|null
getContent()
public
getContent() : string|null
Return values
string|null
getCreatedAt()
public
getCreatedAt() : DateTimeImmutable|null
Return values
DateTimeImmutable|null
getId()
public
getId() : int|null
getTitle()
public
getTitle() : string|null
Return values
string|null
isIsDone()
public
isIsDone() : bool|null
setAuthor()
public
setAuthor(User|null $author) : self
Parameters
-
$author
: User|null
-
setContent()
public
setContent(string $content) : self
Parameters
-
$content
: string
-
setCreatedAt()
public
setCreatedAt(DateTimeImmutable $createdAt) : self
Parameters
-
$createdAt
: DateTimeImmutable
-
setIsDone()
public
setIsDone(bool $isDone) : self
Parameters
-
$isDone
: bool
-
setTitle()
public
setTitle(string $title) : self
Parameters
-
$title
: string
-